package ajax.quanxuan.sys.service.impl;

import ajax.quanxuan.sys.entity.Leavebill;
import ajax.quanxuan.sys.dao.LeavebillMapper;
import ajax.quanxuan.sys.service.LeavebillService;
import ajax.quanxuan.vo.LeavebillVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author KazuGin
 * @since 2024-07-13
 */
@Service
public class LeavebillServiceImpl extends ServiceImpl<LeavebillMapper, Leavebill> implements LeavebillService {
    @Resource
    private LeavebillMapper leavebillMapper;

    @Override
    public IPage<Leavebill> findLeaveBillBypage(IPage<Leavebill> page, LeavebillVo leavebillVo) throws Exception {

        return leavebillMapper.findLeaveBillBypage(page,leavebillVo);
    }
}
